package com.bestcem.xm.qdes.convert;

import com.bestcem.xm.qdes.controller.vo.QstructsDetailVo;
import com.bestcem.xm.qdes.entity.QdesQstruct;
import org.mapstruct.Mapper;
import org.mapstruct.MappingConstants;

import java.util.List;

@Mapper(componentModel = MappingConstants.ComponentModel.SPRING)
public interface QstructConvertMapper {
    List<QstructsDetailVo> qstruct2Vo(List<QdesQstruct> qstructList);
    QstructsDetailVo qstruct2Vo(QdesQstruct qstruct);
}
